package com.ning.fallback;

import com.ning.api.IndexApi;
import org.springframework.stereotype.Component;

@Component
public class IndexApiFallbackService implements IndexApi {

    @Override
    public String index(String str) {
        return "index api is business";
    }

    @Override
    public String timeout(String str) {
        return "timeout api is business";
    }
}
